"""tradetrends URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from .views import *
from .productlibaray import *
from .sysProduct import  *

urlpatterns = [
    url(r'^$', cpanel,name='cpanel'),
    url(r'^message/$', message,name='message'),
    url(r'^order/$', order,name='order'),
    url(r'^orderIndex/$', orderIndex,name='orderIndex'),
    url(r'^smtLogisticsChannelSettings/$', smtLogisticsChannelSettings,name='smtLogisticsChannelSettings'),
    url(r'^yanwenLogisticsChannelSettings/$', yanwenLogisticsChannelSettings,name='yanwenLogisticsChannelSettings'),
    url(r'^mergeable-order/$', mergeableOrder,name='mergeableOrder'),
    url(r'^freightCalculate/$', freightCalculate,name='freightCalculate'),
    url(r'^workDevBasic/$', workDevBasic,name='workDevBasic'),
    url(r'^smtProduct/Add$', smtProductAdd,name='smtProductAdd'),
    url(r'^smtProduct/$', smtProduct,name='product'),
    url(r'^smtProduct/$', smtProduct,name='product'),
    url(r'^addOrderMemo/$', addOrderMemo,name='addOrderMemo'),
    url(r'^api/importOrder/$', importOrder,name='importOrder'),
    url(r'^api/selectLogistics/$', selectLogistics,name='selectLogistics'),
    url(r'^api/testSend/$', testSend,name='testSend'),
    url(r'^api/printMb/$', printMb,name='printMb'),
    url(r'^api/sendDelivery/$', sendDelivery,name='sendDelivery'),
    url(r'^api/applyLogisticsNo/$', applyLogisticsNo,name='applyLogisticsNo'),
    url(r'^api/enbleChannel/$', enbleChannel,name='enbleChannel'),
    url(r'^api/getSmtLogisticsChanel/$', getSmtLogisticsChanel,name='getSmtLogisticsChanel'),
    url(r'^api/getSmtLogisticsChanelInfo/$', getSmtLogisticsChanelInfo,name='getSmtLogisticsChanelInfo'),
    url(r'^api/getYWLogisticsChanelInfo/$', getYWLogisticsChanelInfo,name='getYWLogisticsChanelInfo'),
    url(r'^api/saveSmtLogisticsChanel/$', saveSmtLogisticsChanel,name='saveSmtLogisticsChanel'),
    url(r'^api/saveYWLogisticsChanel/$', saveYWLogisticsChanel,name='saveYWLogisticsChanel'),
    url(r'^api/checkOrderLogistics$', checkOrderLogistics,name='checkOrderLogistics'),
    url(r'^api/editProductDeclare$', editProductDeclare,name='editProductDeclare'),
    url(r'^api/editAddress$', editAddress,name='editAddress'),
    url(r'^api/checkOrder$', checkOrder,name='checkOrder'),
    url(r'^api/getOrderDealMark$', getOrderDealMark,name='getOrderDealMark'),
    url(r'^api/getOrderList$', getOrderList,name='getOrderList'),
    url(r'^api/getOrderDealList$', getOrderDealList,name='getOrderDealList'),
    url(r'^api/getBuyerInfo$', getBuyerInfo,name='getBuyerInfo'),
    url(r'^api/getChildOrder$', getChildOrder,name='getChildOrder'),
    url(r'^api/getOrderMemo$', getOrderMemo,name='getOrderMemo'),
    url(r'^api/getAddress$', getAddress,name='getAddress'),
    url(r'^api/getProductList$', getProductList,name='getProductList'),
    url(r'^api/getProductSku$', getProductSku,name='getProductSku'),
    url(r'^api/getProductStock$', getProductStock,name='getProductStock'),
    url(r'^api/getSkuCode$', getSkuCode,name='getSkuCode'),
    url(r'^api/getOrderLogistics$', getOrderLogistics,name='getOrderLogistics'),
    url(r'^api/smtAPI', smtAPI,name='smtAPI'),
    url(r'^api/logisticsAPI', logisticsAPI,name='logisticsAPI'),
    url(r'^api/Translate$', TranslateAPI,name='TranslateAPI'),
    url(r'^ajaxSearch/$', ajaxSearch,name='ajaxSearch'),
    url(r'^searchLogisticsChanel/$', searchLogisticsChanel,name='searchLogisticsChanel'),
    url(r'^getProductlibraryList/$', getProductlibraryList,name='getProductlibraryList'),
    url(r'^getProductDetail/$', getProductDetail,name='getProductDetail'),
    url(r'^editProductLibrary/$', editProductLibrary,name='editProductLibrary'),
    url(r'^delProductLibrary/$', delProductLibrary,name='delProductLibrary'),
    url(r'^productStockList/$', productStockList,name='productStockList'),
    url(r'^editProductStock/$', editProductStock,name='editProductStock'),
]
